www.gusucode.com > Connect RTL verification to MATLAB 程序工具箱matlab源码 > Connect RTL verification to MATLAB/pulse_detector_verification/build_dpi.m

    % Build the checker, specifying input data types
% checker input args (all are a full signal transaction): 
%    CorrFilter: complex double-precision floating point
%    RxSignal: complex double-precision floating point
%    MidSampleImpl: double-precision floating point
%    DetectedImpl: boolean
dpigen -args {complex(zeros(1,64)),complex(zeros(5000,1)),zeros(5042,1),zeros(5042,1,'logical')} pulse_detector_checker_frm

% Build the wave input stimulus
dpigen pulse_detector_stim_random

dpigen pulse_detector_stim_nopulse